
/******************************************************************************
*@file  : main.c
*@brief : main program
******************************************************************************/

#include "main.h" 
#include "app.h"   


/******************************************************************************
*@brief : main program
*@param : none
*@return: none
******************************************************************************/
int main(void)
{
    uint16_t spi_status; 
    uint8_t  result;   
    
	HAL_Init();  
    SystemClock_Config(SYSCLK_180M_SRC_RC64M, RCC_PCLK1_DIV_1, RCC_PCLK2_DIV_1);   
    HAL_Init_Ex();   
    
    BSP_UART_Init(UART1);  
	
	printfS("\r\nAisinochip MCU Start,HCK: %u,PCLK1: %u,PCLK2: %u\r\n\r\n", HAL_RCC_GetHCLKFreq(),HAL_RCC_GetPCLK1Freq(),HAL_RCC_GetPCLK2Freq());
	
    APP_Test();   
          
    while(1)
    {
    
    }
}














